package com.ecfront.test.server;

import java.util.Iterator;
import java.util.List;
import com.ecfront.service.GoodsSortService;
import com.ecfront.test.dao.SpringUtilTest;
import junit.framework.TestCase;

public class testGoodsSort extends TestCase {
	private static final GoodsSortService goodsSort = (GoodsSortService)SpringUtilTest.getBean("goodsSortService");
	//测试返回所有大类
	public void testGetFirst(){
		List<String> list = goodsSort.getFirstGoodsSort();
		for(Iterator<String> iter = list.iterator();iter.hasNext();){
			System.out.println(iter.next());
		}
	}
}
